CRPEJob::GetNthParameterDefaultValue

Use CRPEJob::GetNthParameterDefaultValue to retrieve the indicated default value for the specified parameter field in the specified report.

Syntax
BOOL GetNthParameterDefaultValue (
        const _TCHAR *parameterFieldName,
        const _TCHAR *reportName,
        short index,
        CRPEValueInfo *valueInfo );
Parameters

parameterFieldName

Specifies a pointer to the parameter field name.

reportName

Specifies a pointer to the report name.

index

The index of the default parameter field value to be retrieved.

valuInfo

Specifies a pointer to CRPEValueInfo, in which the default value will be returned.

Returns

CRPEJob::GetNthParameterField

Use CRPEJob::GetNthParameterField to retrieve the name of the field, the data type, and information about the value set for the field. The name of the parameter field is returned as a string handle. This method is typically used as one of a series of calls (Returns -1 if an error occurs CRPEJob::GetNParameterFields, called once; CRPEJob::GetNthParameterField, called as many times as needed to identify the correct parameter field; and CRPEJob::SetNthParameterField, called once when the correct parameter field is identified). This series can be used in a Custom-Print Link to identify and then change an existing parameter field value in response to a user selection at print time.

Syntax
BOOL GetNthParameterField (
        short parameterN,
        CRPEParameterFieldInfo *parameterInfo );
Parameters

parameterN

Specifies the number of the parameter field about which you want to retrieve information.

parameterInfo

Specifies a pointer to CRPEParameterFieldInfo.

Returns


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com